#include <QtGui/QApplication>
#include <QSplashScreen>

#include "accountdialog.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    QPixmap pixmap("resources/logo.jpg");
    QSplashScreen splash(pixmap, Qt::WindowStaysOnTopHint);
    a.processEvents();

    IcySettings *settings = new IcySettings;
    IcyBuddies *buddies = new IcyBuddies;

    AccountDialog dialog(0, settings, buddies);
    dialog.show();
    splash.finish(&dialog);
    return a.exec();
}
